package com.example.mall.mapper;

import com.example.mall.pojo.SpPermissionApi;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface SpPermissionApiMapper {
    @Select("select * from sp_permission_api where ps_id=#{ps_id}")
    SpPermissionApi selectById(Short psId);

    @Select("select * from sp_permission_api where ps_id=#{ps_id}")
    SpPermissionApi selectByPsId(int ps_id);
}
